package edu.kit.aifb.ldstream.stat.distrib;

public class SameValue implements IDistribution {

	private Param[] params;
	
	public SameValue(Param... params){
		this.params = params;
	}
	
	@Override
	public int getDistributionType() {
		return IDistribution.SAME_COUNT;
	}

	public String toString(){
		StringBuilder sb = new StringBuilder(" different values have the same count of occurrences. ");
		for(Param param : this.params){
			sb.append(param.getName());
			sb.append(": ");
			sb.append(param.getValue());
			sb.append(" ");
		}
		return sb.toString();
	}
	
}
